Carbon


PBHOpenRFDenyAsync

Header: Files.h Carbon status: Supported

Opens a file’s resource fork using the access deny modes.

OSErr PBHOpenRFDenyAsync (
    HParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to a basic HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The result code opWrErr is returned if you’ve requested write permission and you have already opened the file for writing; in that case, the existing file reference number is returned in ioRefNum. You should not use this reference number unless your application originally opened the file.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)